<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
    <link rel="stylesheet" type="text/css" href="../layui/css/layui.css">
</head>
<body>
<form class="layui-form" action="">
    <div class="layui-form-item">
        <label class="layui-form-label">视频标题</label>
        <div class="layui-input-block">
<!--            name与后台实体类值相同-->
            <input type="text" name="videoDesc" style="width: 300px" autocomplete="off" placeholder="请输入视频标题" class="layui-input">
        </div>
    </div>
    <div class="layui-form-item">
        <label class="layui-form-label">视频描述</label>
        <div class="layui-input-block">
            <!--            name与后台实体类值相同-->
            <input type="text" name="remark" style="width: 300px" autocomplete="off" placeholder="请输入视频描述" class="layui-input">
        </div>
    </div>
    <div class="layui-form-item">
        <label class="layui-form-label">上传视频</label>
        <div class="layui-input-block">
            <button type="button" class="layui-btn" id="upVideo"><i class="layui-icon"></i>上传视频</button>
            <input type="text" id="videoPath" name="videoPath" style="width: 300px" autocomplete="off" placeholder="请输入视频名称" class="layui-input layui-disabled" disabled>
        </div>
    </div>
    <div class="layui-form-item">
        <label class="layui-form-label">图片上传</label>
        <div class="layui-input-block">
             <button type="button" class="layui-btn" id="upImg">上传图片</button>
            <input type="text" id="coverPath" name="coverPath" style="width: 300px" autocomplete="off" placeholder="请输入图片名称" class="layui-input layui-disabled" disabled>
        </div>
        <label class="layui-form-label">图片预览</label>
        <div class="layui-upload-list">
            <img class="layui-upload-img" id="demo1" style="width: 50px;height: 50px;">
            <p id="demoText"></p>
        </div>
    </div>
    <div class="layui-form-item">
        <div class="layui-input-block">
            <button type="submit" class="layui-btn" lay-submit="" lay-filter="submit">立即提交</button>
        </div>
    </div>
</form>
<script type="text/javascript" src="../layui/layui.js"></script>
<script type="text/javascript" src="../js/userVideo.js"></script>
</body>
</html>